package com.yanmushi.ms.client.service;

import org.springframework.stereotype.Component;

/**
 * @Author yinlei
 * @Date 2018/3/27
 * @Desc todo
 */
@Component
public class HelloServiceFallback implements HelloService {
    @Override
    public String index() {
        return null;
    }

    @Override
    public String hello() {
        return "error hello!";
    }

    @Override
    public String query(Integer id) {
        return "none data : " + id;
    }
}
